﻿<?phpinclude("../public_files/conn.php");session_start();if(isset($_POST['list_id'])){$list_id=$_POST['list_id'];$sql="update user_list_name set status='2' where id='$list_id'";$result=mysql_query($sql)or die (mysql_error());if($result){$user_id=$_SESSION['userid'];$sql="select  count(*) as count from user_list_name where user_id='$user_id' and status='0' ";$result=mysql_query($sql)or die(mysql_error());$rows=mysql_fetch_array($result);echo $rows['count']."个";}}?>